package com.lorenzogao.pley.bean

import java.io.Serializable

/**
 * 作者：Lorenzo Gao
 * Date: 2017/12/29
 * Time: 13:04
 * 邮箱：2508719070@qq.com
 * Description:
 */

data class BaseBean<T>(var message: String, var status: Int, var data: T) : Serializable ,BaseEntity(){
    companion object {
        val SUCCESS: Int = 1
    }

    fun success(): Boolean {

        return (status == SUCCESS)
    }

}